﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using IRIS.Models;

namespace IRIS.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            var model = new DataRepo().getNews().Take(3); 
            return View(model);
        }
    }
}
